﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace OL.FrameCore.Domain.Entity
{
    /// <summary>
    /// 用户
    /// </summary>
    [Table("Sys_User")]
    public class SysUser
    {
        [Key]
        public int Id { get; set; }
        public string UserName { get; set; }
        public string Password { get; set; }
        public string TrueName { get; set; }
        /// <summary>
        /// 性别 0男 1女
        /// </summary>
        public int Sex { get; set; }
        /// <summary>
        /// 状态 0启用 1禁用
        /// </summary>
        public int Status { get; set; }
        public string Phone { get; set; }
        public string Email { get; set; }
        public int? DeptId { get; set; }
        public int CreateId { get; set; }
        public DateTime CreateTime { get; set; }
        public int UpdateId { get; set; }
        public DateTime UpdateTime { get; set; }
        public bool IsDelete { get; set; }
    }
}
